<%--
  Created by IntelliJ IDEA.
  User: 联想
  Date: 2020/3/24
  Time: 10:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/layui/css/layui.css"  media="all">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->

</head>
<body>
<blockquote class="layui-elem-quote layui-text">
    做一些信息展示
</blockquote>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>您的个人信息</legend>
</fieldset>
<input type="hidden" name="adminName" value="${admin.getAdminName()}">
<div class="layui-form-item">
    <label class="layui-form-label">账号</label>
    <div class="layui-input-block">
        <input type="text" name="adminName" value="${admin.getAdminName()}" readonly="true" lay-verify="required" lay-reqtext="用户名是必填项，岂能为空？" placeholder="请输入" autocomplete="off" class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">真实姓名</label>
    <div class="layui-input-block">
        <input type="text" name="adminActualName" value="${admin.getAdminActualName()}" readonly="true" lay-verify="required" lay-reqtext="用户名是必填项，岂能为空？" placeholder="请输入" autocomplete="off" class="layui-input">
    </div>
</div>

<div class="layui-form-item">
    <div class="layui-inline">
        <label class="layui-form-label">性别</label>
        <div class="layui-input-inline">
            <input type="tel" name="adminTell" value="${admin.getAdminSex()}" readonly="true" lay-verify="required|phone" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-inline">
        <label class="layui-form-label">生日</label>
        <div class="layui-input-inline">
            <input type="tel" name="adminTell" value="${admin.getAdminBirth()}" readonly="true" lay-verify="required|phone" autocomplete="off" class="layui-input">
        </div>
    </div>
</div>

<div class="layui-form-item">
    <div class="layui-inline">
        <label class="layui-form-label">您的手机</label>
        <div class="layui-input-inline">
            <input type="tel" name="adminTell" value="${admin.getAdminTell()}" readonly="true" lay-verify="required|phone" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-inline">
        <label class="layui-form-label">您的邮箱</label>
        <div class="layui-input-inline">
            <input type="text" name="adminEmail" value="${admin.getAdminEmail()}" readonly="true" lay-verify="email"
                   autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-inline">
        <label class="layui-form-label">公司电话</label>
        <div class="layui-input-inline">
            <input type="tel" name="companyTell" value="${admin.getCompanyTell()}" readonly="true" lay-verify="required|phone" autocomplete="off" class="layui-input">
        </div>
    </div>
</div>

<div class="layui-form-item">
    <label class="layui-form-label">公司</label>
    <div class="layui-input-block">
        <input type="text" name="adminCompany" value="${admin.getAdminCompany()}" readonly="true" lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input">
    </div>
</div>

<div class="layui-form-item">
    <label class="layui-form-label">工作地址</label>
    <div class="layui-input-block">
        <input type="text" name="workAddress" value="${admin.getWorkAddress()}" readonly="true" lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input">
    </div>
</div>

<a href="${pageContext.request.contextPath}/admin/toGenerateInfoCard?adminName=${admin.getAdminName()}" class="layui-btn">生成微信名片</a>

</body>
</html>
